<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/18
  Time: 17:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css"/>
</head>
<body>
<form method="GET" action="${pageContext.request.contextPath}/books/updateBook">
  <h2 style="text-align: center;">修改</h2>
  <input type="hidden" name="bookId" value="${book.bookId}">
  <div class="reg">
    <label for="bookName">书名：</label>
    <input type="text" name="bookName" id="bookName" value="${book.bookName}">
  </div>
  <div class="reg">
    <label for="bookType">类型：</label>
    <input type="text" name="bookType" id="bookType" value="${book.bookType}">
  </div>
  <div class="reg">
    <label for="bookPrice">价格：</label>
    <input type="text" name="bookPrice" id="bookPrice" value="${book.bookPrice}">
  </div>
  <div class="reg">
    <label for="bookWriter">作者：</label>
    <input type="text" name="bookWriter" id="bookWriter" value="${book.bookWriter}">
  </div>
  <div class="form-item">
    <button type="submit" class="fill" id="submitBtn">修改</button>
  </div>
</form>
</body>
</html>
